package com.haoze.nurseapp.dto;

import com.fasterxml.jackson.annotation.JsonInclude;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @Author: Chenchao
 * @CreateTime: 2020-03-03 16:48
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public class ConditionDTO implements Serializable {
    private String conditionId;
    private String preTaskNodeId;
    private String taskNodeId;
    private String formula;
    private String priority;
    private List<ConditionDetails> conditionDetails = new ArrayList<>();

    public String getConditionId() {
        return conditionId;
    }

    public void setConditionId(String conditionId) {
        this.conditionId = conditionId;
    }

    public String getPreTaskNodeId() {
        return preTaskNodeId;
    }

    public void setPreTaskNodeId(String preTaskNodeId) {
        this.preTaskNodeId = preTaskNodeId;
    }

    public String getTaskNodeId() {
        return taskNodeId;
    }

    public void setTaskNodeId(String taskNodeId) {
        this.taskNodeId = taskNodeId;
    }

    public List<ConditionDetails> getConditionDetails() {
        return conditionDetails;
    }

    public void setConditionDetails(List<ConditionDetails> conditionDetails) {
        this.conditionDetails = conditionDetails;
    }

    public String getFormula() {
        return formula;
    }

    public void setFormula(String formula) {
        this.formula = formula;
    }

    public String getPriority() {
        return priority;
    }

    public void setPriority(String priority) {
        this.priority = priority;
    }

}
